package com.neusoft.hifly.lock.constant;

/**
 * 全局常量枚举 用来拼接完整的URL
 */
public enum GlobalConstant {

	REDIS_CONNECTION_PREFIX("redis://", "Redis地址配置前缀"),

	LOCK_ERROR("lockError", "您的操作过于频繁，请稍候再试！");

	private final String constantValue;
	private final String constantDesc;

	private GlobalConstant(String constantValue, String constantDesc) {
		this.constantValue = constantValue;
		this.constantDesc = constantDesc;
	}

	public String getConstantValue() {
		return constantValue;
	}

	public String getConstantDesc() {
		return constantDesc;
	}

}
